<%--
  Created by IntelliJ IDEA.
  User: lady
  Date: 2018/5/23
  Time: 20:14
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>用户登录</title>
    <style type="text/css">
        #error,#notLogin{
        }

    </style>
</head>

<body>
<h1>登录界面</h1>
<form method="post" action="login">
    <p>用户名：<input type="text" username="username" value="${user.userName}"></p>
   <p>密码：<input type="password" username="password" value="${user.password}"></p>
    <P><input type="submit" value="登录"></P>
   <p> <button><a href="register.jsp">注册</a></button></p>

    <p id="error" >${error}</p>
    <p id="notLogin" >${notLogin}</p>
</form>
</body>
</html>



